package com.example.hbase_server.pojo;

import java.math.BigInteger;

//将时间戳生成32位对齐置于高位，将userId生成32位，置于低位
public class Ratings {
    public String userId_movieId = null;
    public Double rating = null;
    public Long timestamp = null;

    public Ratings(String userId_movieId, Double rating, Long timestamp) {
        this.userId_movieId = userId_movieId;
        this.rating = rating;
        this.timestamp = timestamp;
    }

    public String getUserId_movieId() {
        return userId_movieId;
    }

    public void setUserId_movieId(String userId_movieId) {
        this.userId_movieId = userId_movieId;
    }

    public Double getRating() {
        return rating;
    }

    public void setRating(Double rating) {
        this.rating = rating;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
